﻿using System;
using System.Collections.Generic;

using System.Text;
using System.Windows.Forms;

namespace MathAssistLibrary
{
    /// <summary>命令接口</summary>
    public interface ICommand
    {
        /// <summary>命令名称</summary>
        string Name { get; }

        /// <summary>执行命令</summary>
        /// <param name="cmd">命令参数</param>
        /// <returns>返回的结果</returns>
        string Excute( string cmd );

        /// <summary>对命令的使用作相应的说明</summary>
        string Describe { get; }
    }
}
